package com.rowger.player.util

import android.os.Handler
import android.os.Looper

/**
 * Created by Administrator on 2018/9/17.
 */
object ThreadUtil {
    val handler=Handler(Looper.getMainLooper())

    fun runOnMainThread(runnable: Runnable){
        handler.post(runnable)
    }
}